package com.ydc.ln.tutorial;

import java.util.HashMap;
import java.util.Map;

import org.junit.Test;

public class ConstantTest {
	public static final Map<String, String> collegeMap;
	
	static {
		collegeMap = new HashMap<String, String>();
		collegeMap.put("100", "dh");
		collegeMap.put("101", "qn");
		collegeMap.put("102", "qs");
		collegeMap.put("103", "wf");
		collegeMap.put("104", "jn");
		collegeMap.put("105", "jny");
		collegeMap.put("106", "ly");
		collegeMap.put("107", "zz");
		collegeMap.put("108", "dz");
		collegeMap.put("109", "ql");
		collegeMap.put("110", "hz");
	}
	
	@Test
	public void testShow() {
		System.out.println(collegeMap);
		String str = "4028810a31b834960131b838qn20090101";
		String seq = str.substring(str.length()-2);
		System.out.println(seq);
	} 
}
